package java.com.fitness.club.model;

import java.util.List;

/**
 * 数据库表信息
 * 
 * @author Administrator
 *
 */
public class TableInfo {

	/**
	 * 表对应的实体类名称
	 */
	private String tableName;

	/**
	 * 数据库对应的表名
	 * 
	 */
	private String dbTableName;

	/**
	 * 表的类型
	 * 
	 */
	private String tableType;

	/**
	 * 表的备注
	 * 
	 */
	private String tableComment;

	/**
	 * 主键
	 * 
	 */
	private String idField;

	/**
	 * 数据库主键
	 * 
	 */
	private String dbIdField;

	/**
	 * 表的列信息
	 * 
	 */
	private List<com.fitness.club.model.ColumnInfo> columns;

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getDbTableName() {
		return dbTableName;
	}

	public void setDbTableName(String dbTableName) {
		this.dbTableName = dbTableName;
	}

	public String getTableType() {
		return tableType;
	}

	public void setTableType(String tableType) {
		this.tableType = tableType;
	}

	public String getTableComment() {
		return tableComment;
	}

	public void setTableComment(String tableComment) {
		this.tableComment = tableComment;
	}

	public String getIdField() {
		return idField;
	}

	public void setIdField(String idField) {
		this.idField = idField;
	}

	public String getDbIdField() {
		return dbIdField;
	}

	public void setDbIdField(String dbIdField) {
		this.dbIdField = dbIdField;
	}

	public List<com.fitness.club.model.ColumnInfo> getColumns() {
		return columns;
	}

	public void setColumns(List<com.fitness.club.model.ColumnInfo> columns) {
		this.columns = columns;
	}

}
